﻿using ConfExpert.Forms.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevTeam;

namespace ConfExpert.Forms.Siparisler
{
    public partial class SiparisTakibi : XForm
    {
        public SiparisTakibi()
        {
            InitializeComponent();
        }

        private void SiparisTakip_Load(object sender, EventArgs e)
        {
            this.Text = "Sipariş Takip Formu";

            gridView1.Init("GetSiparisTakip");  // ali_GetCustomers
            
            //////gridView1.MakeColumnInvisible("DersId");
            //// gridView1.YanYanaGetir("Gdp:Name");

            // gridView1.MakeReadOnly();
            //////gridView1.AddDetailGrid(gridView2, "DersId");
            // gridView2
            //////gridView2.SutunEkle("DersOrtalama", typeof(decimal), "Vize1*0.2+Vize2*0.3+Final*0.5");
            //////gridView1.SutunEkle("Ortalama", typeof(decimal), "AVG(Child({FK}).DersOrtalama)");
            ////gridView1.AddSummary("Musteri Adedi");
            //    gridView2.AddSummary();
            


            //////gridView1.SetCaptions("ProductId:Art");
            gridView1.AddSummary();
            gridView1.BestFitColumns();

        }
    }
}
